package com.lj.ljminsu.controller;

import com.lj.ljminsu.bean.TjUser;
import com.lj.ljminsu.bean.UserThreadLocal;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TokenController {

    @RequestMapping("check")
    public TjUser toToken() {
        TjUser tjUser = UserThreadLocal.get();

        return tjUser;
    }


}
